package com.b511.swpu.cementbackend.repository;

import com.b511.swpu.cementbackend.entity.MAIN_Rig;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface MAIN_RigRepository extends JpaRepository<MAIN_Rig, String>,
        JpaSpecificationExecutor<MAIN_Rig> {

    void deleteByRelationCode(String relationCode);

    MAIN_Rig findByRelationCode(String relationCode);
}
